package com.itlong.cloud.service;

import com.itlong.cloud.POJO.PO.OperationLogPO;

import java.util.Map;

/**
 * <desc>
 *      操作日志业务处理接口
 * </desc>
 *
 * @createDate 2018/05/02
 */
public interface IUserOperationLogService {

    /**
     * <desc>
     *      保存日志
     * </desc>
     *
     * @param operationLogPO 操作日志实体类
     * @return sql执行行数
     * @author wangzhi
     * @createDate 2018/05/02
     */
    Integer save(OperationLogPO operationLogPO) throws Exception;

    /**
     * <desc>
     *      保存开发者访问日志
     * </desc>
     *
     * @param map 日志信息
     * @return
     * @author wangzhi
     * @createDate 2018/12/19
     */
    Integer saveDeveloperLog(Map<String, Object> map) throws Exception;

    /**
     * <desc>
     *      保存开发者异常日志
     * </desc>
     *
     * @param map 日志信息
     * @return
     * @author Qiang.S
     * @createDate 2019/09/18
     */
    Integer saveDeveloperExceptionLog(Map<String, Object> map) throws Exception;
}
